@charset "utf-8";

@mixin reset(){
  html,body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,
  legend,input,textarea,p,blockquote,th,td,hr,button,article,aside,details,
  figcaption,figure,footer,header,menu,nav,section{
    margin:0;
    padding:0;
    box-sizing: border-box;
  }
  article,aside,details,figcaption,figure,footer,header,menu,nav,section {
    display:block;
  }
  ol,ul,li{
    list-style:none;
  }
  input,label,textarea,select{
    box-sizing: border-box;
    -webkit-tap-highlight-color:rgba(0,0,0,0);
    -webkit-appearance: none;
    font-size: 100%;
  }
  table{
    border-spacing: 0;
    border-collapse: collapse;
  }
  a{
    box-sizing: border-box;
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  }
  [hidden]{
    display: none;
  }
}


@mixin tools(){
  .text-center{
    text-align: center;
  }
  .text-left{
    text-align: left;
  }
  .pull-left{
    float: left;
  }
  .pull-right{
    float: right;
  }
  .clearfix:after{
    content: "";
    display: table;
    clear: both;
  }
  .text-truncate{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  // 禁止滚动
  .ovfHiden {
    overflow: hidden;
    height: 100%;
  }
}

@mixin animation($na...){
  animation: $na;
  -webkit-animation: $na;
}
